Class NotificationSDKServerException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.vasco.digipass.sdk.utils.notification.server.exceptions.NotificationSDKServerException
-
- All Implemented Interfaces:
java.io.Serializable
public class NotificationSDKServerException extends java.lang.ExceptionThis exception is thrown when a problem occurs while using NotificationSDKServer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotificationSDKServerException(int errorCode)Constructs a newNotificationSDKServerException.NotificationSDKServerException(int errorCode, java.lang.Throwable cause)Constructs a newNotificationSDKServerException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetErrorCode()Retrieves the error code of theNotificationSDKServerException.
-
-
-
Constructor Detail
-
NotificationSDKServerException
public NotificationSDKServerException(int errorCode)
Constructs a newNotificationSDKServerException.- Parameters:
errorCode- The error code. SeeNotificationSDKServerErrorCodesfor more details.
-
NotificationSDKServerException
public NotificationSDKServerException(int errorCode, java.lang.Throwable cause)Constructs a newNotificationSDKServerException.- Parameters:
errorCode- The error code. SeeNotificationSDKServerErrorCodesfor more details.cause- Throwable describing the cause of the failure.
-
-
Method Detail
-
getErrorCode
public int getErrorCode()
Retrieves the error code of theNotificationSDKServerException. Error codes are defined in theNotificationSDKServerErrorCodesclass.- Returns:
- The error code of the exception.
-
-